﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.DTOS.StatusMonitor
{
    public class UnitPointModel
    {
        /// <summary>
        /// 测点Id
        /// </summary>
        public Guid PointId { get; set; }

        /// <summary>
        /// 测点名称
        /// </summary>
        public string PointName { get; set; }

        /// <summary>
        /// 测点分类
        /// </summary>
        public PointCategoryEnum Category { get; set; }

        /// <summary>
        /// 测点类型
        /// </summary>
        public PointTypeEnum Type { get; set; }

        /// <summary>
        /// 隶属对象Id
        /// </summary>
        public Guid OwnerId { get; set; }

        /// <summary>
        /// 隶属对象Type
        /// </summary>
        public string OwnerType { get; set; }

        /// <summary>
        /// 隶属对象显示名称
        /// </summary>
        public string OwnerDisplayName { get; set; }

        /// <summary>
        /// 隶属对象编号
        /// </summary>
        public int? OwnerNumber { get; set; }

        /// <summary>
        /// 隶属对象详细Type
        /// </summary>
        public string OwnerSubType { get; set; }

        /// <summary>
        /// 测点自有属性集合
        /// </summary>
        public Dictionary<string, object> DerivedPropertiesJson { get; set; } = new Dictionary<string, object>();


        /// <summary>
        /// 阈值集合
        /// </summary>
        public ChartThreshold ThresholdProperties { get; set; }


        /// <summary>
        /// 特征值集合-最新一条 不管正常还是异常
        /// </summary>
        public WaveDataFeature TdFeatureData { get; set; }
    }
}
